package com.hc.entity;

import org.apache.ibatis.jdbc.Null;

public class Rent {

	private int rid;
	private int rcount;
	private String rdate;
	private String rnote;
	
	private House house=new House();
	private Tenant tenant=new Tenant();
	public Rent() {
		super();
	}
	public Rent(int rid, int rcount, String rdate, String rnote, House house, Tenant tenant) {
		super();
		this.rid = rid;
		this.rcount = rcount;
		this.rdate = rdate;
		this.rnote = rnote;
		this.house = house;
		this.tenant = tenant;
	}
	public int getRid() {
		return rid;
	}
	public void setRid(int rid) {
		this.rid = rid;
	}
	public int getRcount() {
		return rcount;
	}
	public void setRcount(int rcount) {
		this.rcount = rcount;
	}
	public String getRdate() {
		return rdate;
	}
	public void setRdate(String rdate) {
		this.rdate = rdate;
	}
	public String getRnote() {
		return rnote;
	}
	public void setRnote(String rnote) {
		this.rnote = rnote;
	}
	public House getHouse() {
		return house;
	}
	public void setHouse(House house) {
		this.house = house;
	}
	public Tenant getTenant() {
		return tenant;
	}
	public void setTenant(Tenant tenant) {
		this.tenant = tenant;
	}
	
	
	
}
